home *** CD-ROM | disk | FTP | other *** search
/ PC Player 2004 May / pc player 2004-05.iso / Demos / FarCry / Data1.cab / _16460D71AB3849FE92C49CFA75BA3792 < prev    next >
Encoding:
Text File  |  2004-01-06  |  3.0 KB  |  111 lines

  1. Script:LoadScript("scripts/materials/commoneffects.lua");
  2. Materials["mat_metal_sheet_nd"] = {
  3.     type="mat_metal_sheet_nd",
  4. -------------------------------------
  5.     PhysicsSounds=PhysicsSoundsTable.Hard,
  6. -------------------------------------    
  7.     bullet_drop_single = CommonEffects.common_bullet_drop_single_metal,
  8.     bullet_drop_rapid = CommonEffects.common_bullet_drop_rapid_metal,
  9. -------------------------------------    
  10.     bullet_hit = {
  11.         sounds = {
  12.             {"Sounds/bullethits/bsheet1.wav",SOUND_UNSCALABLE,200,5,60},
  13.             {"Sounds/bullethits/bsheet2.wav",SOUND_UNSCALABLE,200,5,60},
  14.             {"Sounds/bullethits/bsheet3.wav",SOUND_UNSCALABLE,200,5,60},
  15.             {"Sounds/bullethits/bsheet4.wav",SOUND_UNSCALABLE,200,5,60},
  16.             
  17.         },
  18.         
  19.         particleEffects = {
  20.             name = "bullet.hit_metal.a",
  21.         },
  22.  
  23.     
  24.     },
  25.     pancor_bullet_hit = {
  26.         sounds = {
  27.             {"Sounds/bullethits/bsheet1.wav",SOUND_UNSCALABLE,200,5,60},
  28.             {"Sounds/bullethits/bsheet2.wav",SOUND_UNSCALABLE,200,5,60},
  29.             {"Sounds/bullethits/bsheet3.wav",SOUND_UNSCALABLE,200,5,60},
  30.             {"Sounds/bullethits/bsheet4.wav",SOUND_UNSCALABLE,200,5,60},
  31.             
  32.         },
  33.         
  34.         particleEffects = {
  35.             name = "bullet.hit_metal_pancor.a",
  36.         },
  37.  
  38.     
  39.     },
  40.  
  41.     
  42.     projectile_hit =     {
  43.         particleEffects = {
  44.             name = "explosions.rocket.a",
  45.         },
  46.         
  47.             particles = 
  48.         {
  49.             { --HitMetalSparksTrail
  50.                 focus = 0.0,
  51.                 color = {1,1,1},
  52.                 speed = 8.0,
  53.                 count = 25, --default 15
  54.                 size = 0.045, 
  55.                 size_speed=0,
  56.                 gravity={x=0,y=0,z=-5},
  57.                 lifetime=0.5,
  58.                 tid = System:LoadTexture("Textures/Decal/Spark.dds"),
  59.                 tail_length = 0.2,
  60.                 frames=0,
  61.                 blend_type = 2
  62.             },
  63.         },
  64.     },
  65.     mortar_hit = flashgrenade_hit,
  66.     smokegrenade_hit = flashgrenade_hit,
  67.     grenade_hit = flashgrenade_hit,
  68.     melee_slash = {
  69.         sounds = {
  70.             {"sounds/weapons/machete/machetesheet1.wav",SOUND_UNSCALABLE,185,5,30},
  71.             {"sounds/weapons/machete/machetesheet2.wav",SOUND_UNSCALABLE,185,5,30},
  72.             {"sounds/weapons/machete/machetesheet3.wav",SOUND_UNSCALABLE,185,5,30},
  73.         },
  74.         particles = CommonEffects.common_machete_hit_particles.particles,
  75.         decal = { 
  76.             texture = System:LoadTexture("Textures/Decal/metal_slash.dds"),
  77.             scale = 0.1,
  78.             random_scale = 100,
  79.             random_rotation = 0.5,
  80.         },
  81.  
  82.     },
  83.  
  84. -------------------------------------
  85.     player_walk = CommonEffects.player_metal_walk,
  86.     player_run = CommonEffects.player_metal_run,
  87.     player_crouch = CommonEffects.player_metal_crouch,
  88.     player_prone = CommonEffects.player_metal_prone,
  89.     player_walk_inwater = CommonEffects.player_walk_inwater,
  90.     
  91.     player_drop = {
  92.         sounds = {
  93.             {"sounds/player/bodyfalls/bodyfallrock1.wav",SOUND_UNSCALABLE,210,10,150},
  94.             {"sounds/player/bodyfalls/bodyfallrock2.wav",SOUND_UNSCALABLE,210,10,150},
  95.         },
  96. --        decal = { 
  97. --            texture = System:LoadTexture("Textures/Decal/Default.tga"),
  98. --            scale = 0.1,
  99.         --},
  100.     },
  101.     gameplay_physic = {
  102.         piercing_resistence = 15,
  103.         friction = 0.8,
  104.         bouncyness= 0.2, --default 0
  105.     },
  106.  
  107.     AI = {
  108.         fImpactRadius = 5,
  109.     },
  110.             
  111. }